home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / bemenu.dxr / 00002.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  4.0 KB  |  154 lines

  1. on exitFrame
  2.   global gBuzz
  3.   handcursor(71)
  4.   repeat with n = 20 to 26
  5.     handcursor(n)
  6.   end repeat
  7.   repeat with n = 40 to 56
  8.     handcursor(n)
  9.   end repeat
  10.   repeat with n = 37 to 39
  11.     handcursor(n)
  12.   end repeat
  13.   set y to random(350)
  14.   if y = 2 then
  15.     if soundBusy(2) then
  16.       nothing()
  17.     else
  18.       set gBuzz to 1
  19.       sound playFile 2, "Oth009.wav"
  20.     end if
  21.   end if
  22.   if soundBusy(2) then
  23.     nothing()
  24.   else
  25.     set gBuzz to 0
  26.   end if
  27.   repeat with n = 61 to 69
  28.     handcursor(n)
  29.   end repeat
  30.   if rollOver(61) or rollOver(37) or rollOver(38) or rollOver(39) then
  31.     set the visible of sprite 60 to 1
  32.   else
  33.     set the visible of sprite 60 to 0
  34.   end if
  35.   if rollOver(37) or rollOver(38) or rollOver(39) then
  36.     set the visible of sprite 36 to 1
  37.   else
  38.     set the visible of sprite 36 to 0
  39.   end if
  40.   if rollOver(19) or rollOver(62) then
  41.     set the visible of sprite 13 to 1
  42.     set the visible of sprite 5 to 1
  43.     set the visible of sprite 4 to 1
  44.     set the visible of sprite 18 to 1
  45.     set the visible of sprite 27 to 1
  46.     set the visible of sprite 3 to 0
  47.     sparky()
  48.   else
  49.     brainline()
  50.     set the visible of sprite 27 to 0
  51.     set the visible of sprite 13 to 0
  52.     turnitback()
  53.   end if
  54.   if rollOver(20) or rollOver(63) then
  55.     set the visible of sprite 11 to 1
  56.     set the visible of sprite 5 to 1
  57.     set the visible of sprite 4 to 1
  58.     set the visible of sprite 18 to 1
  59.     set the visible of sprite 28 to 1
  60.     set the visible of sprite 3 to 0
  61.     sparky()
  62.   else
  63.     set the visible of sprite 11 to 0
  64.     set the visible of sprite 28 to 0
  65.     brainline()
  66.     turnitback()
  67.   end if
  68.   if rollOver(21) or rollOver(64) then
  69.     set the visible of sprite 15 to 1
  70.     set the visible of sprite 5 to 1
  71.     set the visible of sprite 4 to 1
  72.     set the visible of sprite 18 to 1
  73.     set the visible of sprite 29 to 1
  74.     set the visible of sprite 3 to 0
  75.     sparky()
  76.   else
  77.     set the visible of sprite 29 to 0
  78.     set the visible of sprite 15 to 0
  79.     brainline()
  80.     turnitback()
  81.   end if
  82.   if rollOver(22) or rollOver(65) then
  83.     set the visible of sprite 10 to 1
  84.     set the visible of sprite 5 to 1
  85.     set the visible of sprite 4 to 1
  86.     set the visible of sprite 18 to 1
  87.     set the visible of sprite 30 to 1
  88.     set the visible of sprite 3 to 0
  89.     sparky()
  90.   else
  91.     set the visible of sprite 30 to 0
  92.     set the visible of sprite 10 to 0
  93.     brainline()
  94.     turnitback()
  95.   end if
  96.   if rollOver(23) or rollOver(69) then
  97.     set the visible of sprite 9 to 1
  98.     set the visible of sprite 5 to 1
  99.     set the visible of sprite 4 to 1
  100.     set the visible of sprite 18 to 1
  101.     set the visible of sprite 31 to 1
  102.     set the visible of sprite 3 to 0
  103.     sparky()
  104.   else
  105.     set the visible of sprite 31 to 0
  106.     set the visible of sprite 9 to 0
  107.     brainline()
  108.     turnitback()
  109.   end if
  110.   if rollOver(24) or rollOver(68) then
  111.     set the visible of sprite 14 to 1
  112.     set the visible of sprite 5 to 1
  113.     set the visible of sprite 4 to 1
  114.     set the visible of sprite 18 to 1
  115.     set the visible of sprite 32 to 1
  116.     set the visible of sprite 3 to 0
  117.     sparky()
  118.   else
  119.     set the visible of sprite 32 to 0
  120.     set the visible of sprite 14 to 0
  121.     brainline()
  122.     turnitback()
  123.   end if
  124.   if rollOver(25) or rollOver(67) then
  125.     set the visible of sprite 12 to 1
  126.     set the visible of sprite 5 to 1
  127.     set the visible of sprite 4 to 1
  128.     set the visible of sprite 18 to 1
  129.     set the visible of sprite 33 to 1
  130.     set the visible of sprite 3 to 0
  131.     sparky()
  132.   else
  133.     set the visible of sprite 33 to 0
  134.     set the visible of sprite 12 to 0
  135.     brainline()
  136.     turnitback()
  137.   end if
  138.   if rollOver(26) or rollOver(66) then
  139.     set the visible of sprite 8 to 1
  140.     set the visible of sprite 5 to 1
  141.     set the visible of sprite 4 to 1
  142.     set the visible of sprite 18 to 1
  143.     set the visible of sprite 34 to 1
  144.     set the visible of sprite 3 to 0
  145.     sparky()
  146.   else
  147.     set the visible of sprite 34 to 0
  148.     set the visible of sprite 8 to 0
  149.     brainline()
  150.     turnitback()
  151.   end if
  152.   go(the frame)
  153. end
  154.